package com.bang.study.factory;

/**
 * @ClassName: ElfWeapon
 * @author: BANG
 * @Date: 2019/10/28 14:27
 * @Version: 1.0
 * @Modified By:
 * @Desc: TODO
 */
public class ElfWeapon implements Weapon {

    private WeaponType weaponType;

    public ElfWeapon(WeaponType weaponType) {
        this.weaponType = weaponType;
    }

    @Override
    public String toString() {
        return "ElfWeapon{" +
                "weaponType=" + weaponType +
                '}';
    }

    @Override
    public WeaponType getWeaponType() {
        return weaponType;
    }
}
